package com.rongxue.service.Impl;

import com.rongxue.mapper.SAdvertisementMapper;
import com.rongxue.pojo.SAdvertisement;
import com.rongxue.service.AdvertisementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by yangweijian on 2018/1/16.
 */
@Service
@Transactional
public class AdvertisementServiceImpl implements AdvertisementService {

    @Autowired
    private SAdvertisementMapper sAdvertisementMapper;

    @Override
    public List<SAdvertisement> selectAdvertisementList() {
        return sAdvertisementMapper.selectAdvertisementList();
    }
}
